from django_celery_beat.models import CrontabSchedule
from rest_framework import serializers


class CrontabScheduleSerializers(serializers.ModelSerializer):
    timezone = serializers.CharField(default='Asia/Shanghai', max_length=63)

    class Meta:
        model = CrontabSchedule
        fields = '__all__'
